package com.umeng.soexample.di.modules;


import com.umeng.soexample.mvp.contract.SeeListElseFragmentContract;
import com.umeng.soexample.mvp.model.SeeListElseFragmentModel;

import dagger.Module;
import dagger.Provides;
@Module
public class SeeListElseFragmentModules {
    private SeeListElseFragmentContract.SeeListElseFragmentIView iView;

    public SeeListElseFragmentModules(SeeListElseFragmentContract.SeeListElseFragmentIView iView) {
        this.iView = iView;
    }

    @Provides
    public SeeListElseFragmentContract.SeeListElseFragmentIView providerIView(){
        return iView;
    }

    @Provides
    public SeeListElseFragmentContract.SeeListElseFragmentIModel providerIModel(){
        return new SeeListElseFragmentModel();
    }
}
